package puzzle.nurikabe.solver;

import puzzle.common.point.Pnt;
import puzzle.common.solver.AbstractAssumption;

public class NurikabeAssumption extends AbstractAssumption {
	public final Pnt p;
	public final boolean isKabe;

//	public final int closureNumber;
//	public final int[] closureNumbers;

	public NurikabeAssumption(Pnt p, boolean isKabe) {
		this.p = p;
		this.isKabe = isKabe;
	}

//	public NurikabeAssumption(Pnt p, boolean isKabe, int closureNumber, int[] closureNumbers) {
//		this.p = p;
//		this.isKabe = isKabe;
//		this.closureNumber = closureNumber;
//		this.closureNumbers = closureNumbers;
//	}

	@Override
	public String toString() {
		return (isKabe ? "K@" : "S@") + p.toString();
	}
}
